﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ARchGL.Platform.Core
{
    /// <summary>
    /// 千变_项目
    /// </summary>
    [Table(nameof(QB_Projects))]
    public class QB_Projects : QianbianEntityBase
    {
        /// <summary>
        /// 编码
        /// </summary>
        [MaxLength(100)]
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [MaxLength(256)]
        public string Name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        [MaxLength(50)]
        public string Type { get; set; }
        #region 各种单位

        /// <summary>
        /// 建设单位
        /// </summary>
        [MaxLength(100)]
        public string ConstructionUnit { get; set; }
        /// <summary>
        /// 施工单位
        /// </summary>
        [MaxLength(100)]
        public string BuilderUnit { get; set; }
        /// <summary>
        /// 监理单位
        /// </summary>
        [MaxLength(100)]
        public string SupervisionUnit { get; set; }
        /// <summary>
        /// 设计单位
        /// </summary>
        [MaxLength(100)]
        public string DesignUnit { get; set; }
        /// <summary>
        /// 勘察单位
        /// </summary>
        [MaxLength(100)]
        public string TestingUnit { get; set; }

        #endregion
        /// <summary>
        /// 项目地址
        /// </summary>
        [MaxLength(500)]
        public string Address { get; set; }
        /// <summary>
        /// 计划开工日期
        /// </summary>
        public DateTime? PlanStartDate { get; set; }
        /// <summary>
        /// 计划竣工日期
        /// </summary>
        public DateTime? PlanEndDate { get; set; }
        /// <summary>
        /// 实际开工日期
        /// </summary>
        public DateTime? ActualStartDate { get; set; }
        /// <summary>
        /// 实际竣工日期
        /// </summary>
        public DateTime? ActualEndDate { get; set; }
        /// <summary>
        /// 建筑面积
        /// </summary>
        public double? StructureArea { get; set; }
        /// <summary>
        /// 楼层
        /// </summary>
        public int? Floor { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(500)]
        public string Description { get; set; }
        /// <summary>
        /// 高度
        /// </summary>
        public double? Height { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public double? LocationX { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public double? LocationY { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Images { get; set; }
        /// <summary>
        /// 地区
        /// </summary>
        [MaxLength(100)]
        public string Area { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PakTerminalNo { get; set; }
    }
}
